{template "header.html", "/"}
<script language="javascript">
    // 这是加入收藏夹的ajax请求，我就随意写了一下提示信息，至于美化啊什么交给你们了
    function dr_favorite() {
        $.get("/index.php?s={MOD_DIR}&c=api&m=favorite&id={$id}", function(data){
            if (data == 1) {
                dr_tips("没有登录，不能收藏");
            } else if (data == 2) {
                dr_tips("文档不存在，无法收藏");
            } else if (data == 3) {
                dr_tips("更新收藏成功", 3, 1);
            } else if (data == 4) {
                dr_tips("收藏成功", 3, 1);
            }
        });
    }
    function dr_goumai() {
        $.get("/index.php?s={MOD_DIR}&c=api&m=goumai&id={$id}", function(data){
            dr_tips( data.msg, 3, data.code);
            if (data.code == 1) {
                setTimeout("window.location.reload(true)", 2000)
            }
        }, 'json');
    }
</script>
<div class="page-container">
    <div class="page-content-wrapper">
        {template "header.html"}
        <div class="page-content">
            <div class="container">

                <ul class="page-breadcrumb breadcrumb">
                    <li>
                        <a href="{SITE_URL}">首页</a>
                        <i class="fa fa-circle"></i>
                    </li>
                    {if !IS_SHARE}
                    <li>
                        <a href="{MODULE_URL}">{MODULE_NAME}</a>
                        <i class="fa fa-circle"></i>
                    </li>
                    {/if}
                    {dr_catpos($catid, '', true, '<li><a href="{url}">{name}</a><i class="fa fa-circle"></i></li>')}
                    <li>
                        <span>{$title}</span>
                    </li>
                </ul>

                <div class="page-content-inner">
                    <div class="search-page search-content-2">
                        <div class="row">
                            <div class="col-md-12">

                                <div class="portlet light">
                                    <div class="portlet-title">
                                        <div class="caption">
                                            <span class="caption-subject font-blue  ">{$title}</span>
                                        </div>
                                        <div class="actions">
                                            <strong> 访问人数：</strong> {dr_show_hits($id)}次

                                        </div>

                                    </div>
                                    <div class="portlet-body">

                                        <p style="color:#9eacb4">{$description}</p>
                                        <div class="row">

                                            <div class="col-md-3">
                                                <img src="{dr_thumb($thumb, 200, 200)}">
                                            </div>

                                            <div class="col-md-8">
                                                <ul class="list-unstyled fc-list-row">
                                                    <li><strong> 姓名：</strong> {$title}</li>
                                                    <li><strong> 性别：</strong> {php $field = dr_field_options('xingbie');}{$field[$xingbie]} </li>
                                                    <li><strong> 出生年份：</strong> {dr_date($_csnf, 'Y-m-d')}</li>
                                                    <li><strong> 工作年限：</strong> {$gznx}年</li>
                                                    <li><strong> 最高学历：</strong> {php $field = dr_field_options('zuigaoxueli');}{$field[$zuigaoxueli]}</li>
                                                    <li><strong> 更新时间：</strong> {$updatetime}</li>
                                                    {if $is_goumai}
                                                    <li><strong> 联系电话：</strong> {$lxdh}</li>
                                                    {/if}
                                                </ul>
                                                <p style="margin-top: 20px;padding-left:5px;">
                                                    <a class="btn green" href="javascript:dr_favorite()"><i class="fa fa-plus"></i> 收藏简历</a>
                                                    <a class="btn red" href="javascript:dr_goumai()"><i class="fa fa-rmb"></i> 购买简历</a>

                                                </p>
                                            </div>

                                        </div>
                                    </div>
                                </div>

                                <div class="portlet light">
                                    <div class="portlet-title">
                                        <div class="caption">
                                            <span class="caption-subject font-dark bold uppercase">求职要求</span>
                                        </div>
                                    </div>
                                    <div class="portlet-body" style="height: auto;">
                                        <p>职位类别: {dr_cat_value('zhaopin', $zhiweileibie, 'name')}</p>
                                        <p>工作地点: {dr_linkagepos('address', $gzdd, ' - ')}</p>
                                        <p>期望薪资: {$qiwangxinzi}</p>
                                    </div>
                                </div>

                                <div class="portlet light">
                                    <div class="portlet-title">
                                        <div class="caption">
                                            <span class="caption-subject font-dark bold uppercase">详细介绍</span>
                                        </div>
                                    </div>
                                    <div class="portlet-body" style="height: auto;">
                                        {$content}
                                    </div>
                                </div>


                            </div>
                        </div>
                    </div>


                </div>
            </div>
        </div>
    </div>
</div>



{template "footer.html", "/"}